//
//  CCDemoViewController.m
//  Party
//
//  Created by its on 15/4/14.
//  Copyright (c) 2015年 coco. All rights reserved.
//

#import "CCDemoViewController.h"
#import "CCLoginModel.h"
#import "CCLoginViewController.h"
#import "CCLoginViewModel.h"
@implementation CCDemoViewController

- (void) viewDidAppear:(BOOL)animated {
  [super viewDidAppear:animated];
}

- (void) viewDidLoad {
  CCLoginModel *model = [[CCLoginModel alloc] initWithUserid:@"coco" password:@"Aa1052852269"];
  CCLoginViewModel *viewModel = [[CCLoginViewModel alloc] initWithModel: model];
  CCLoginViewController *viewController = [[CCLoginViewController alloc] initWithViewModel: viewModel];
  [self.navigationController pushViewController:viewController animated:YES];
  [super viewDidLoad];
}
@end
